package com.itheima.service;

import com.itheima.entity.PageResult;
import com.itheima.entity.QueryPageBean;
import com.itheima.pojo.Menu;

import java.util.List;

/**
 * @author lqq
 * @date 2020-01-16 21:04
 */
public interface MenuService {

    public void add(Menu menu);

   public void update(Menu menu);

    List<Menu> findAll();

    Menu findById(Integer id);

    PageResult pageQuery(QueryPageBean queryPageBean);

    void delete(Integer id);
}
